<template>
    <div class="head404" id="head404" @click="goToPage()"></div>
</template>

<script>
export default {
  name: "NotFind",
  mounted() {
    let dom = document.getElementById("head404");
    dom.style.background = "url(" + require('@/assets/images/notfound.png') + ")"+" #30393c";
    dom.style.backgroundRepeat = "no-repeat";
    dom.style.backgroundSize = "40% 40%";
    dom.style.backgroundPosition = "50% 10%";
  },
  methods:{
    goToPage(){
      this.$router.push('/')
    }
  }

}
</script>

<style scoped>

</style>
